<div class="bjui-pageHeader">
        <form id="pagerForm" data-toggle="ajaxsearch" action="{url}" method="post">
                <input type="hidden" name="pageSize" value="{$numPerPage}" >
                <input type="hidden" name="pageCurrent" value="{$currentPage}">
                <input type="hidden" name="orderField" value="{$orderField}">
                <input type="hidden" name="orderDirection" value="{$orderDirection}">
                <div class="bjui-searchBar">
                        <label>标签名称：</label>
                        <input type="text" name="name" value="{$_REQUEST['name']|default=''}"  class="form-control" size="15" />
                        <button type="submit"  class="btn-default" data-icon="search">查询</button>
                        <div class="pull-right">
                                <input type="checkbox" name="lookupType" value="1" data-toggle="icheck" data-label="追加" checked>
                                <button type="button" class="btn-blue" data-toggle="lookupback" data-lookupid="ids" data-warn="请至少选择一个" data-icon="check-square-o">选择选中</button>
                        </div>
                </div>
        </form>

</div>

<div class="bjui-pageContent">
        <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" data-nowrap="true">
                <thead>
                        <tr>

                                <th>名称</th>
                                <th width="50" align="center">选择</th>
                                <th width="100">操作</th>
                        </tr>
                </thead>
                <tbody>
                        
                        <tr>
                                <td>点掉追加，选此清空</td>
                                <td align="center"><input type="checkbox" name="ids" data-toggle="icheck" value="{id:'', name:''}"></td>
                                <td>
                                        <a href="javascript:;" data-toggle="lookupback" data-args="{id:'', name:''}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
                                </td>
                        </tr>
                        {neq name="list" value=''}
                        {volist name="list" id="vo"}
                        <tr>
                                <td>{$vo.title}</td>
                                <td align="center"><input type="checkbox" name="ids" data-toggle="icheck" value="{id:'{$vo.id}', name:'{$vo.title}'}"></td>
                                <td>
                                        <a href="javascript:;" data-toggle="lookupback" data-args="{id:'{$vo.id}', name:'{$vo.title}'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
                                </td>
                                

                        </tr>
                        {/volist}
                        {else /}
                        <tr><td colspan="9" align="center">暂无记录</td></tr>
                        {/neq}
                </tbody>
        </table>        
</div>
<div class="bjui-pageFooter">
                <div class="pages">
                        <span> 每页&nbsp;</span>
                        <div class="selectPagesize">
                                <select data-toggle="selectpicker" data-toggle-change="changepagesize" class="show-tick" >
                                        <option {eq name="numPerPage" value="20"} selected="selected" {/eq} value="20">20</option>
                                        <option {eq name='numPerPage' value='40'} selected="selected" {/eq} value="40">40</option>
                                        <option {eq name='numPerPage' value='120'} selected="selected" {/eq} value="120">120</option>
                                        <option {eq name='numPerPage' value='150'} selected="selected" {/eq} value="150">150</option>
                                </select>
                        </div>
                        <span>&nbsp;条,共 {$totalCount} 条 </span>


                </div>
                <div class="pagination-box" data-toggle="pagination" data-total="{$totalCount}" data-page-size="{$numPerPage}" data-page-current="{$currentPage}">
                </div>
        </div>